length of dictionary in python

38

#!/usr/bin/python

dict = {'Name': 'Zara', 'Age': 7};
print "Length : %d" % len (dict)

Comments

Submit
0 Comments